package net.stogi.unicore.beyond.ui.client.taskeditor.taskpreview;

import com.google.gwt.event.shared.GwtEvent;

public class TaskPreviewClosedEvent extends GwtEvent<TaskPreviewClosedHandler> {

	public static final GwtEvent.Type<TaskPreviewClosedHandler> TYPE = new GwtEvent.Type<TaskPreviewClosedHandler>();

	public TaskPreviewClosedEvent() {}

	@Override
	public Type<TaskPreviewClosedHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(TaskPreviewClosedHandler handler) {
		handler.onTaskPreviewClosed(this);
	}
}
